package com.example.ktapplication.state

import com.example.ktapplication.bean.HomeBannerBean

sealed class HomeBannerState {
    //成功
    data class OnSuccess(var banner: HomeBannerBean?) : HomeBannerState()
    //失败
    data class OnError(var exception: Throwable?) : HomeBannerState()
}